<?php
namespace app\common\validate;

/**
 * DeliveryValidate
 */
class DeliveryValidate extends BaseValidate
{
	protected $rule = [
	    'id' => 'require|integer',
        'goods_list' => 'require|isArray',
    ];
    
    protected $message=[
        'id.require' => 'id必填',
        'id.integer' => 'id数据类型非法',
        'goods_list' => 'goods_list参数错误'
    ];

    protected $scene = [
        //'lists' => [],
        'detail' => ['id'],
        'save' => ['id','goods_list'],
        'cancel' => ['id'],
        'audit' => ['id'],
        'updatePrintDate' => ['id'],
    ];


}